TEMPLATE = lib
CONFIG += release plugin

TARGET = magickplugin

win32 {
  DESTDIR = ../../../../bin/importplugins

  INCLUDEPATH += ../../ \
	       %MAGICK_HOME%\include

  QMAKE_LIBDIR += %MAGICK_HOME%\lib

  LIBS += core_rl_magick++_.lib \
	  core_rl_magick_.lib \
	  core_rl_wand_.lib
}

macx {
  DESTDIR = ../../../../bin/drishtiimport.app/importplugins

  INCLUDEPATH += ../../ \
                 /Users/acl900/drishtilib/ImageMagick/include/ImageMagick

  QMAKE_LIBDIR += /Users/acl900/drishtilib/ImageMagick/lib

  LIBS += -lMagick++ \
	  -lMagickCore \
	  -lMagickWand
}


HEADERS = magickplugin.h

SOURCES = magickplugin.cpp

